<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
	<div class="wrapper wrapper-content ">
		<div class="row">
			<div class="col-sm-12">
				<div class="ibox float-e-margins">
					<div class="ibox-content">
						<form class="form-horizontal m-t" id="signupForm">
							<div class="form-group">	
								<label class="col-sm-3 control-label">请假类型：</label>
								<div class="col-sm-8">
									<label class="radio-inline">
										<input type="radio" name="type" value="1" /> 事假
									</label>
									<label class="radio-inline">
										<input type="radio" name="type" value="2" /> 病假
									</label>
									<label class="radio-inline">
										<input type="radio" name="type" value="3" /> 年假
									</label>
									<label class="radio-inline">
										<input type="radio" name="type" value="4" /> 其它
									</label>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">请假开始时间：</label>
								<div class="col-sm-8">
									<input type="text" class="laydate-icon layer-date form-control" id="starttime" name="starttime" placeholder="请假开始时间"
										   onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="background-color: #fff;" readonly="readonly"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">请假结束时间：</label>
								<div class="col-sm-8">
									<input type="text" class="laydate-icon layer-date form-control" id="endtime" name="endtime" placeholder="请假结束时间"
										   onclick="laydate({istime: true, format: 'YYYY-MM-DD'})" style="background-color: #fff;" readonly="readonly"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">部门领导：</label>
								<div class="col-sm-8">
									<select data-placeholder="部门领导" id="deptManagerid" name="deptManagerid"
											class="form-control chosen-select" tabindex="2" required>
										<option value="">部门领导</option>
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">请假原因：</label>
								<div class="col-sm-8">
									<textarea id="reason" name="reason" class="form-control"></textarea>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
	</div>
	</div>
	<div th:include="include::footer"></div>
	<script type="text/javascript" src="/js/appjs/system/leave/add.js"></script>
	<script src="/js/layui.js"></script>
	<script type="text/javascript" src="/js/plugins/cropper/cropper.min.js"></script>
	<script type="text/javascript" src="/js/plugins/layer/laydate/laydate.js" ></script>
	<script type="text/javascript" src="/js/plugins/distpicker/distpicker.data.min.js"></script>
	<script type="text/javascript" src="/js/plugins/distpicker/distpicker.min.js"></script>
</body>
</html>
